package org.example.visitor;

import lombok.Data;

@Data
public class ChairProduct implements IProduct{
    private int price;
    private String color;

    public ChairProduct(int price, String color){
        this.color = color;
        this.price = price;
    }

    @Override
    public void accept(IVisitor visitor) {
        visitor.visit(this);
    }
}
